import http from '../index'

const api = '/provider/reports'

export function get(params) {
  return http.get(api, {
    params
  })
}

export function query(params) {
  return http.get(api + '/query', {
    params
  })
}

export function update(data) {
  return http.post(api, data)
}